package com.mryan.chat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.websocket.server.ServerEndpoint;

/**
 * @description：TODO
 * @Author MRyan
 * @Date 2020/12/26 9:57
 * @Version 1.0
 */
@Controller
public class IndexController {

    @RequestMapping({"/index","/"})
    public String index(){
        return "redirect:/chat.html";
    }

}
